package me.qu42.zpage.event;

import java.util.EventObject;

public class ZpageEvent extends EventObject {
    private Object obj;
    private Object result;
    public int type;

    public ZpageEvent(Object source, Object result, int type) {
        super(source);
        obj = source;
        this.result = result;
        this.type = type;
    }

    public Object getSource() {

        return obj;

    }

    public Object getResult() {
        return result;
    }
    
    public int getType(){
        return type;
    }
}
